package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.UserCollect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCollectMapper {

    int insert(UserCollect userCollect);

    void deleteCollect(@Param("userId") Long userId, @Param("collectId") Long collectId, @Param("type") Integer type);

    UserCollect getCollect(@Param("userId") Long userId, @Param("collectId") Long collectId, @Param("type") Integer type);
}